package com.niguang.work.api.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author chenliu
 * @since 2018-07-23
 */
@TableName("v_personSite")
public class VPersonsite extends Model<VPersonsite> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableField("siteUserId")
    private Long siteUserId;
    /**
     * 用户ID
     */
    @TableField("userId")
    private Long userId;
    /**
     * 用户姓名
     */
    @TableField("userName")
    private String userName;
    @TableField("qiyeId")
    private Long qiyeId;
    /**
     * 企业名称
     */
    @TableField("qiyeName")
    private String qiyeName;
    /**
     * 工地ID
     */
    @TableField("siteId")
    private Long siteId;
    /**
     * 工地名称
     */
    @TableField("siteName")
    private String siteName;
    /**
     * 是否是管理员 1--普通用户 2--工地管理员
     */
    @TableField("manageType")
    private Integer manageType;
    @TableField("manageTypeName")
    private String manageTypeName;
    @TableField("siteCityName")
    private String siteCityName;


    public Long getSiteUserId() {
        return siteUserId;
    }

    public void setSiteUserId(Long siteUserId) {
        this.siteUserId = siteUserId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getQiyeId() {
        return qiyeId;
    }

    public void setQiyeId(Long qiyeId) {
        this.qiyeId = qiyeId;
    }

    public String getQiyeName() {
        return qiyeName;
    }

    public void setQiyeName(String qiyeName) {
        this.qiyeName = qiyeName;
    }

    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public Integer getManageType() {
        return manageType;
    }

    public void setManageType(Integer manageType) {
        this.manageType = manageType;
    }

    public String getManageTypeName() {
        return manageTypeName;
    }

    public void setManageTypeName(String manageTypeName) {
        this.manageTypeName = manageTypeName;
    }

    public String getSiteCityName() {
        return siteCityName;
    }

    public void setSiteCityName(String siteCityName) {
        this.siteCityName = siteCityName;
    }

    public static final String SITEUSERID = "siteUserId";

    public static final String USERID = "userId";

    public static final String USERNAME = "userName";

    public static final String QIYEID = "qiyeId";

    public static final String QIYENAME = "qiyeName";

    public static final String SITEID = "siteId";

    public static final String SITENAME = "siteName";

    public static final String MANAGETYPE = "manageType";

    public static final String MANAGETYPENAME = "manageTypeName";

    public static final String SITECITYNAME = "siteCityName";

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "VPersonsite{" +
        "siteUserId=" + siteUserId +
        ", userId=" + userId +
        ", userName=" + userName +
        ", qiyeId=" + qiyeId +
        ", qiyeName=" + qiyeName +
        ", siteId=" + siteId +
        ", siteName=" + siteName +
        ", manageType=" + manageType +
        ", manageTypeName=" + manageTypeName +
        ", siteCityName=" + siteCityName +
        "}";
    }
}
